package cn.yuanqiao.cqbc.timedTasks.taskClass.taskListService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @ClassName: TaskInspectionContext
 * @Description: 类的描述
 * @author: lihuahua
 * @date: 2022/11/14 14:59
 * @Blog:
 */

@Service
public class TaskInspectionContext {
    @Autowired
    Map<String, TaskListService> taskMap;

    public TaskListService getTaskListService(String type) {
        return taskMap.get(type);
    }

}
